# !/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2023/4/23 9:43
# @Author : xyjiang1216
# @Email : jiangxuyan@nudt.edu.cn
# @File : algo_output_class.py
# @Version: OpenPlanner2.0
from typing import List


class Entry:
    def __init__(self,
                 t_start: int,
                 t_end: int,
                 queue_id: int,
                 stream_id: int,
                 period_id: int):
        self.t_start: int = t_start
        self.t_end: int = t_end
        # 队列id
        self.queue_id: int = queue_id
        self.stream_id: int = stream_id
        self.period_id: int = period_id


class SolutionEachLink:
    def __init__(self,
                 link_id: int,
                 entries: List[Entry]):
        self.link_id: int = link_id
        self.entries: List[Entry] = entries


class AlgoOutput:
    def __init__(self,
                 # solution: List[SolutionEachLink]
                 ):
        self.solution: List[SolutionEachLink] = []
